import request from '@/common/utils/request'
import {
	serv
} from '@/common/utils/config'

//获取活动详情
export function getActivityInfo(data) {
	return request(serv.welfare + '/api/activity/getById', {
		method: 'get',
		data: data
	})
}

//获取活动商品列表
export function getActivityProducts(data) {
	return request(serv.order + '/api/goods/queryGoodsListWithStandardByCatalog', {
		method: 'post',
		data: data
	})
}

// 查询用户可见活动专区
export function isVisable(data) {
	return request(serv.welfare + '/api/activity/isVisable?clientType=h5', {
		method: 'get',
		data: data
	})
}
